package com.cl.cloud.binlog.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * @description:
 * @author: liuzijian
 * @time: 2022-07-08 15:57
 */
@Data
@ConfigurationProperties(prefix = BinLogProperty.PREFIX)
public class BinLogProperty {

    public static final String PREFIX = "cl.cloud.binlog";

    /**
     * 多数据源监听配置
     */
    private Map<String, DbConfig> dbConfig;

    /**
     * 是否启用binlog监听
     */
    private boolean enable;


}
